﻿using System.Collections.Generic;
using System.Device.Location;

namespace AuchanScan.Datas
{
    public class Magasin
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Code { get; set; }
        public string Department { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public string Address { get; set; }
        public string Phone { get; set; }
        public string Country { get; set; }
        public string PostCode { get; set; }
        public string Hours { get; set; }
        public List<string> Services { get; set; }

        public GeoCoordinate Location
        {
            get
            {
                return new GeoCoordinate(Latitude, Longitude);
                ;
            }
        }
    }
}